package cn.jcet.gumall.product.service;

import cn.jcet.gumall.product.vo.SpuSaveVo;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.jcet.common.utils.PageUtils;
import cn.jcet.gumall.product.entity.SpuInfoEntity;

import java.util.Map;

/**
 * spu信息
 *
 * @author coder_yang
 * @email 1546656922@qq.com
 * @date 2020-06-28 19:46:47
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * spu保存信息
     * @param saveVo
     */
    void saveSpuInfo(SpuSaveVo saveVo);

    /**
     * 保存基本信息
     * @param spuInfoEntity
     */
    void saveBaseInfo(SpuInfoEntity spuInfoEntity);

    /**
     * 添加查询
     * @param params
     * @return
     */
    PageUtils queryPageByCondtion(Map<String,Object> params);
}

